package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * Resource entity. @author MyEclipse Persistence Tools
 */

public class Resource  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -3778561164111490291L;
	private String resourceId;
     private Integer resourceType;
     private String name;
     private String url;
     private String description;
     private Timestamp lastUpdatedStamp;
     private Timestamp createdStamp;
     private Set resourceRoletypeRels = new HashSet(0);


    // Constructors

    /** default constructor */
    public Resource() {
    }

	/** minimal constructor */
    public Resource(String resourceId, Integer resourceType, String name, String url, Timestamp lastUpdatedStamp, Timestamp createdStamp) {
        this.resourceId = resourceId;
        this.resourceType = resourceType;
        this.name = name;
        this.url = url;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
    }
    
    /** full constructor */
    public Resource(String resourceId, Integer resourceType, String name, String url, String description, Timestamp lastUpdatedStamp, Timestamp createdStamp, Set resourceRoletypeRels) {
        this.resourceId = resourceId;
        this.resourceType = resourceType;
        this.name = name;
        this.url = url;
        this.description = description;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
        this.resourceRoletypeRels = resourceRoletypeRels;
    }

   
    // Property accessors

    public String getResourceId() {
        return this.resourceId;
    }
    
    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public Integer getResourceType() {
        return this.resourceType;
    }
    
    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public Timestamp getLastUpdatedStamp() {
        return this.lastUpdatedStamp;
    }
    
    public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }

    public Set getResourceRoletypeRels() {
        return this.resourceRoletypeRels;
    }
    
    public void setResourceRoletypeRels(Set resourceRoletypeRels) {
        this.resourceRoletypeRels = resourceRoletypeRels;
    }
   








}